  <div class="main_box">    
    <div id="mainContent_2">
    	<!-- 评单热门标签begin -->
    	<div id="hot-tag">
	          <?php       
				if($hotTags)
				{
?>
					<div class="bar">评单热门标签</div>
            		<div class="box">
<?php
					foreach ($hotTags as $key=>$value)
					{	
						echo '<a href="'.edp_href_link(PAGENAME_LIST_SUMMARY,'t='.$key). '">'.$key.'</a>'.' ';
					}
?>
					</div>
					<div class="btm"></div>
<?php
				}	
			  ?>  
            
        </div>
    	<!-- 评单热门标签end -->
        
        
    	<!-- 评单列表begin -->
		<div id="list-list">
        	<div class="bar">
        	<a href="<?php echo edp_href_link(PAGENAME_LIST_SUMMARY); ?>">>> 查看所有评单</a>
        	
        	 <cite>共 <span class="redfont"><?php echo $listArr['total_num']; ?></span> 条评单
        	
        	<?php 
        	  if(!edp_is_empty_string($q)){
			 
			    echo '满足关键词: <span class="redfont">'.$q.'</span>';
			    
			  }else if(!edp_is_empty_string($t)){
				
				echo '满足标签: <span class="redfont">'.$t.'</span>';
	          }   
	          ?></cite>	

	          
		</div>
            <div class="box">
            	<div id="toolbar"><div class="list_sort"> 
            	 <form id="sortform" action="<?php echo edp_href_link(PAGENAME_LIST_SUMMARY); ?>" method="GET">
       	 
					<input type="hidden" id="s" name="s" value="<?php if(!edp_is_empty_string($s)) echo $s;?>" />
		            <?php 
		                if(!edp_is_empty_string($q))
		                  echo '<input type="hidden" id="q" name="q" value="'.$q.'" />';
		                else if(!edp_is_empty_string($t))
		                  echo '<input type="hidden" id="t" name="t" value="'.$t.'" />';  
		             ?>  
		              
		                按照&nbsp;<a id="sort_view_count" href="###">人气</a> | 
		                <a id="sort_create_time" href="###">时间</a> | 
		                <a id="sort_response_count" href="###">回应数</a> | 
		                <a id="sort_flower_count" href="###" >鲜花数</a>  | 
		                <a id="sort_contribution" href="###" >会员等级</a> 排序  
                </form>
                </div></div>
                <ul>
                  <?php  
          		 if(isset($listArr['list_summary'])){ 
           			 foreach($listArr['list_summary'] as $item){
           		 ?>
           		                
                	<li> <a href="<?php echo edp_href_link(PAGENAME_LIST_INFO,'lid='.$item['id']); ?>"><img src="<?php echo $item['pic_path']; ?>"></a></img>
                    <h3><a href="<?php echo edp_href_link(PAGENAME_LIST_INFO,'lid='.$item['id']); ?>"><?php secho( $item['title']  ); ?></a></h3>
                        <div id="list-content"><?php secho( $item['description']  ); ?><span>(全部<?php echo $item['c2c_count']; ?>家店铺，<?php echo $item['c2c_count']; ?>家商城，<?php echo $item['c2c_count']; ?>件商品)</span></div>
                        <div id="tags">标签：
                       <?php
	                      if(isset($item['tags'])){
	                      	$tagArr =  explode(" ", $item['tags']);            		                       
	                      	foreach($tagArr as $key=>$value){
		                     echo '<a href ="'.edp_href_link(PAGENAME_LIST_SUMMARY,'t='.$value). '">'.$value.'</a>'.'&nbsp;&nbsp;';
		                    }
	                      } 
                       ?>                        
                        </div>
                        <div id="adder"><a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$item['user_id']); ?>"><?php secho( $item['user_name'] ); ?></a> 发表于 <?php echo substr( $item['create_time'], 0, 10 );  ?> | 
                        <a href="#">回应</a><span><?php if(intval($item['response_count'])>0) echo '('.$item['response_count'].')'; ?></span> | 
                        <a id="Flower<?php echo $item['id'];?>" onclick="popupFlowerWindow('list','<?php echo $item['id']; ?>')"  href="#">鲜花</a><?php if(intval($item['flower_count'])>0) echo '<span id="Flower'.$item['id'].'" >('.$item['flower_count'].')</span>'; ?> |
                        <a id="Egg<?php echo $item['id'];?>" onclick="popupEggWindow('list','<?php echo $item['id']; ?>')"  href="#">鸡蛋</a><?php if(intval($item['egg_count'])>0) echo '<span id="Egg'.$item['id'].'" >('.$item['egg_count'].')</span>'; ?></div>
                        <div style="clear:both"></div>
                    </li>
                      <?php } }?>  
                </ul>
                <div style="clear:both"></div>
            </div>
            <div class="btm"></div>
        </div>
    	<!-- 评单列表end -->
        
       <?php echo $pageObj->getBar(); ?>       
</div>

<div id=flowerAndEggBox style="display:none;cursor:default;" class="popup"></div>     